// 获取数据
export const getStorage = (key: string) => JSON.parse(localStorage.getItem(key)!)

// 存储数据
export const setStorage = (key: string, value: any) => localStorage.setItem(key, JSON.stringify(value))

// 删除存储数据
export const deleteStorage = (key: string) => localStorage.removeItem(key)
